#include<stdio.h>

int main()
{
	int a, b,c,d;
	scanf_s("%d%d", &a, &b);
	d = b + 10 * a;
	c = d / 19;
	printf("%d\n", c);
	return 0;
}